@import url('style\style-services-main.css');

/* ===============================
   Styles spécifiques à la page Gestion comptable
   =============================== */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 60vh;
}

.hero-content {
    flex: 1;
    padding: 0 2rem;
}

.hero-content h1 {
    margin-top: 0px;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.feature i {
    color: #ffd700;
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #181818;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #181818;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: white;
}

.process-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #181818;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #0000FF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #181818;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: #ffd700;
    color: #181818;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Fixed Devis Button */
.fixed-devis-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-devis-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #0000FF;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-devis-btn:hover {
    background: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 255, 0.4);
}

.floating-devis-btn i {
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 10px 30px rgba(0, 0, 255, 0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0, 0, 255, 0.5);
    }
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 255, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .floating-devis-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .floating-devis-btn span {
        display: none;
    }
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 4vw;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 1.7rem;
    color: var(--primary-blue);
    cursor: pointer;
    position: absolute;
    right: 2vw;
    top: 1.1rem;
  }

  .nav-links {
    display: none; /* caché par défaut */
    flex-direction: column;
    width: 100%;
    background: #fff;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .nav-links.open {
    display: flex; /* affiché si on ajoute la classe .open */
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1.2rem 2vw;
    box-sizing: border-box;
  }

  .nav-links .btn-devis {
    margin-top: 0.5rem;
    margin-left: 0;
    width: 95%;
    display: block;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}


@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-image {
        padding: 0 1rem;
    }
    
    .fixed-devis-button {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Spécifique : liens contact-link dans le footer */
footer .contact-link {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}
footer .contact-link:hover,
footer .contact-link:focus {
    color: #ffd700;
    text-decoration: underline;
    outline: none;
}
